<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover"><title>学习笔记</title><meta name="author" content="lzoxun"><meta name="copyright" content="lzoxun"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta property="og:type" content="website">
<meta property="og:title" content="学习笔记">
<meta property="og:url" content="http://example.com/page/4/index.html">
<meta property="og:site_name" content="学习笔记">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png">
<meta property="article:author" content="lzoxun">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="http://example.com/page/4/index.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = {
  root: '/',
  algolia: undefined,
  localSearch: {"path":"/search.xml","preload":true,"top_n_per_article":1,"unescape":true,"languages":{"hits_empty":"找不到您查询的内容：${query}","hits_stats":"共找到 ${hits} 篇文章"}},
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  dateSuffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#1f1f1f","position":"bottom-left"},
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: true,
  isAnchor: false,
  percent: {
    toc: true,
    rightside: false,
  },
  autoDarkmode: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '学习笔记',
  isPost: false,
  isHome: true,
  isHighlightShrink: false,
  isToc: false,
  postUpdate: '2023-07-22 15:54:12'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
    win.getCSS = (url,id = false) => new Promise((resolve, reject) => {
      const link = document.createElement('link')
      link.rel = 'stylesheet'
      link.href = url
      if (id) link.id = id
      link.onerror = reject
      link.onload = link.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        link.onload = link.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(link)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          const now = new Date()
          const hour = now.getHours()
          const isNight = hour <= 6 || hour >= 18
          if (t === undefined) isNight ? activateDarkMode() : activateLightMode()
          else if (t === 'light') activateLightMode()
          else activateDarkMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 6.3.0"></head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><script>(()=>{
  const $loadingBox = document.getElementById('loading-box')
  const $body = document.body
  const preloader = {
    endLoading: () => {
      $body.style.overflow = ''
      $loadingBox.classList.add('loaded')
    },
    initLoading: () => {
      $body.style.overflow = 'hidden'
      $loadingBox.classList.remove('loaded')
    }
  }

  preloader.initLoading()
  window.addEventListener('load',() => { preloader.endLoading() })

  if (false) {
    document.addEventListener('pjax:send', () => { preloader.initLoading() })
    document.addEventListener('pjax:complete', () => { preloader.endLoading() })
  }
})()</script><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src= "" data-lazy-src="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">108</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">1</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><hr class="custom-hr"/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header" style="background-image: url('/img/bg.jpg')"><nav id="nav"><span id="blog-info"><a href="/" title="学习笔记"><span class="site-name">学习笔记</span></a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search" href="javascript:void(0);"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">学习笔记</h1><div id="site-subtitle"><span id="subtitle"></span></div><div id="site_social_icons"><a class="social-icon" href="https://github.com/liaozhongxun" target="_blank" title="Github"><i class="fab fa-github" style="color: #24292e;"></i></a><a class="social-icon" href="mailto:869664233@gmail.com" target="_blank" title="Email"><i class="fas fa-envelope" style="color: #4a7dbe;"></i></a></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/2023/07/22/web/tool-coder/coder-webpack/" title="webpack·">webpack·</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-07-22T07:14:09.695Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></span></div><div class="content">环境搭建环境安装1234mkdir coder-webpackcd coder-webpacknpm initnpm install webpack webpack-cli -D

配置文件1234567891011121314/** * * * * *//** * 默认：webpack.config.js * 指定：--config dev.config.js * webpack基于node运行，配置文件使用的是CommonJS语法，入口js文件是用的浏览器的，使用的是 import 方式es6语法 *  * 打包: npx webpack(node_modules/.bin) =&gt; 找到配置文件 =&gt; 从入口文件开始对项目进行打包  */

配置文件属性12345678910111213/** * mode：模式(&#x27;none&#x27;|&#x27;development&#x27;|&#x27;production 默认&#x27;) *       影响 process.env.NODE_ENV 的值,不同模式会添加一些默认配置 * * entry：入口文 ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/2023/07/22/web/visualization/day02-canvas/" title="数据可视化话 - canvas">数据可视化话 - canvas</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-07-22T07:14:09.695Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></span></div><div class="content">概念2004 年引入，首先被火狐和Chrome实现，被W3C提议为下一代标准，最后成为Html5的一个标签
提供很多JavaScript绘图API，配合 canvas 元素主要绘制各种2D图形
也能使用canvas 提供的 WebGL API 绘制一些 3D 图形
应用场景
​	动画、游戏画面、数据可视化、图片编辑、视频处理等
兼容性
​	不支持 IE8
缺点
​     占内存、只能通过JavaScript脚本操作、放大像素话(模糊失真)
canvas标签
canvas 标签只有width和height两个属性，默认300 和 150
必须有结束标签
通过canvas.getContext() 方法检测浏览器是否支持

1234567891011121314151617&lt;canvas id=&#x27;canvas1&#x27;&gt;不兼容显示这里提示文字&lt;/canvas&gt;&lt;script&gt;    /*  */	window.onload = function()&#123;        /* 获取canvas容器  */        var can ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/2023/07/22/web/visualization/day01-css3/" title="数据可视化话 - css3">数据可视化话 - css3</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-07-22T07:14:09.695Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></span></div><div class="content">概念
  优点

数据可视化主要指借助与图形化的手段，清晰有效的传达与沟通信息
数据可视化通常用柱状图、折线图、饼图、玫瑰图、散点图等图形来传递信息
也可以使用点、线、面、地图来对数字数据进行编码展示，在视觉上传达关键信息
可视化可以帮助用户分析与推理数据，让复杂数据更容易理解与使用

  发展历史

18世纪就开始有有人手绘柱状图、折线图这些可视化图形表了
随着计算机应用的发展，数理统计把数据可视化变成可一门科学（计算机图形学、统计学、分析学），并运用到各个行业

  可视化-实现方案


前端可视化技术
底层图形引擎：Skia、OpenGL  （一级）
2D、2.5D大多基于Skia，也能绘制3D
3D、游戏、绘图软件等大多基于OpenGL


W3C提供：CSS3、Canvas、SVG、WebGL  （二级）
canvas和svg就是基于Skia的，WebGL则底层基于OpenGL实现


JavaScript 第三方插件动画库，基于W3C提供的这些技术来实现 （三级）
ZRender 可以选择使用 Canvas 或 SVG 
Echarts 基于 ZRender ，通过配置绘制 ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/2023/07/22/web/visualization/day03-svg/" title="数据可视化话 - svg">数据可视化话 - svg</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-07-22T07:14:09.695Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></span></div><div class="content">概念SVG 全称 可缩放的矢量图形
​		矢量定义：既有大小，又有方向的量，物理称为矢量，数学称为向量，计算机中矢量图是可以无损无限放大的
​		矢量图像：基于点、线、形状和数学公式来构建的图形，不是像素组成，不会失真
​		光栅图像：由像素点构成的图形，大量像素点组成高清图形，相同范围内，像素越多，质量越高
SVG 是一种基于XML格式的矢量图，主要用于定义二维图形，支持交互和动画
​		基于 XML 的SVG，可用文本编辑器、图形编辑器 创建和编辑，可在浏览器直接显示
​		图形编辑器，导出为SVG文件，就可以通过代码导入或封装成组件使用
SVG兼容性  除了IE 基本可以使用
SVG 优点
​		1、可以在不失真的情况下缩放，压缩
​		2、灵活：可以结合语言技术一起使用，包括CSS、JavaScript、HTML、SMIL（做动画语言），可以集成到DOM中
​        3、轻量级：相对png、jpg哪些小很多
​        4、可打印
​        5、SEO友好
​        6、可压缩
SVG 缺点
​		1、适合做 简单、类似logo的图标，不适合用于高 ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/2023/07/22/web/style/style-css3/" title="CSS3">CSS3</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-07-22T07:14:09.694Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></span></div><div class="content">CSS3新增属性xxxxxxxxx
移动端适配屏幕尺寸
设备屏幕尺寸是指屏幕对角线的长度， 1英寸&#x3D;2.54cm   

查看大部分设备尺寸
屏幕分辨率
屏幕分辨率是指屏幕的逻辑像素点 数

像素参考资料

物理像素


  1366x768设备屏幕的物理像素是指横向1366与纵向768个发光的点组成的设备屏幕

物理像素|设备像素dp(device pixels)设备固定属性，设备像素是固定不变的


css逻辑像素

逻辑像素|css像素css像素是一个相对单位。相对不同屏幕，其实际像素大小不同。我们定义时，是定义其逻辑像素。即该图要用多少个像素来显示。


设备像素比DPR

设备像素比DPR(devicePixelRatio)设备像素&#x2F;(CSS像素|独立像素)DPR &#x3D; 1 设备像素与css像素相等DPR &#x3D; 2 设备像素是css像素两倍dpr可通过window.devicePixelRatio获取


viewport 视口
布局视口（layout viewport）
布局视口定义了pc网页在移动端的默认布局行为
布局视口默认为980p ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/2023/07/22/web/style/style-flex/" title="flex基础">flex基础</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-07-22T07:14:09.694Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></span></div><div class="content">
设置 display:flex;的盒子就是 Flex 容器(flex container),它的直接子元素就是项目(flex item), flex 容器的子元素 float clear vertical-align 等属性都会失效flex game

主轴与侧轴
默认主轴就是 x 方向向右、水平方向、行

默认侧轴就是 y 方向向下、垂直方向、列

元素是跟着主轴方向排列的,主轴的方向最终取决于 flex-direction 的值


父容器常用属性flex-direction: 设置主轴方向
12345flex-direction:    :row;  默认、水平向右    :row-reverse; 是元素从右向左排类    :column; 将主轴设置为垂直方向，设置之后水平方向就成了侧轴    :column-reverse;  从下到上

justify-content: 设置主轴上子元素的排列方式
123456justify-content:    :flex-start; 默认,项目从左对齐    :flex-end; 使项目右对齐    :center; 在主轴居中 ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/2023/07/22/web/style/style-grid/" title="grid网格布局">grid网格布局</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-07-22T07:14:09.694Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></span></div><div class="content">http://www.ruanyifeng.com/blog/2019/03/grid-layout-tutorial.html
开启grid基本概念
  Flex布局是轴线布局，只能设置项目轴线方向的一维布局  Grid将容器划分为行和列，产生单元格，的二维布局  使用display:grid;的元素成为容器，容器内部直接子元素称为项目(项目的display:inline-block|table-cell、float等生成BFC属性失效)

容器属性(假设3x3 9个项目)
在容器元素上使用的属性

容器1display:grid|inline-gird; 使用说明
设置行
grid-template-rows:100px 100px 100px;:设置为行，且每个宽度为100px
100px: 一一设置行每个项目宽度像素大小

25%: 一一设置行每个项目宽度百分比

fr: fraction 分配比例1fr(flex:1)、2fr(flex:2)

auto:剩余空间宽度自动分分配

repeat(3,33.33%): repeat行数(重复次数，重复大小)

repeat(2, ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/2023/07/22/web/react/react-docs/" title="react">react</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-07-22T07:14:09.694Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></span></div><div class="content">简介官网
声明式编程：（维护状态，根据状态改变更新熏染UI界面） UI&#x3D;f(state）
组件化开发：
开发依赖必须依赖三个包

react：包含react所有核心代码

包含react web 和 react-native所共同拥有的核心代码


react-dom：react 熏染在不同平台所需要的核心代码

针对web 和native所完成的事情不同
web端：reacte-dom会将jsx最终渲染成真是DOM,显示在浏览器中
native端：react-dom 会将jsx最终渲染成原生控件


babel：将jsx转换成React代码的工具



对比vuereact：用户手动 setState 的时候 去重新执行 render 函数
vue：data数据改变直接劫持重新渲染模板
组件将页面拆分为无数个小的组件，每个组件完成自己的独立功能，方便页面的关联与维护 与 复用
每个单页面应用就是一棵组件树，么个组件都将 state 数据 、方法、render 关联起来
组件类型，前面的注重UI， 后面的注重逻辑

  根据组件定义方式：**函数组件 **和 类组件


   ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/2023/07/22/web/threejs/base/" title="Three-基础">Three-基础</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-07-22T07:14:09.694Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></span></div><div class="content">概念学习步骤第一天：场景、相机、几何体、材质、渲染器、控制器、坐标轴、向量、requestAnimationFrame 实现动画、Clock 时钟、gsap 动画库、窗口 resize 更新场景、像素比、全屏元素、dat.gui（UI 界面变量控制库）
第二天：物体属性认识、自定义几何体、系统提供几何体详解、材质详解、材质纹理、纹理重复偏移、纹理的大小显示设置
专业名词
场景 （Scene） ：所有物体都有放在场景上面
相机 （Camera）：相机让我们能看到场景里的物体
几何体 （BoxGeometry 等各种几何体。。。）
文档位置：https://localhost:8082/docs/index.html#api/zh/geometries/BoxGeometry
position 位移、scale 缩放、rotation 旋转


材质 （Material）: 设置物体皮肤
设置纹理
纹理加载器 THREE.TextureLoader()
纹理属性




物体 ：几何体加材质，通过 THREE.Mesh 方法形成
物体.geometry 得到几何体信息
物体.materia ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/2023/07/22/web/tool-coder/coder-babel/" title="babel">babel</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-07-22T07:14:09.694Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></span></div><div class="content">安装
本质上就是一个编译器，将一种源代码转换成另外一种代码

1234567# 手动转换npm install @babel/core @babel/cli -Dnpm install @babel/plugin-transform-block-scoping -D # 块级作用域转换npm install @babel/plugin-transform-array-functions -D # 箭头函数# 没指定插件是不会转化的 npx babel ./src --out-dir ./dist --publics=@babel/plugin-transform-block-scoping,@babel/plugin-transform-array-functions # 将src下所有转换到dist

1234567# babel 预设 （手动太麻烦）npm install @babel/core @babel/cli -Dnpm install @babel/preset-env -Dnpx babel ./src --out-dir ./dist --publics=@babel ...</div></div></div><nav id="pagination"><div class="pagination"><a class="extend prev" rel="prev" href="/page/3/#content-inner"><i class="fas fa-chevron-left fa-fw"></i></a><a class="page-number" href="/">1</a><span class="space">&hellip;</span><a class="page-number" href="/page/3/#content-inner">3</a><span class="page-number current">4</span><a class="page-number" href="/page/5/#content-inner">5</a><span class="space">&hellip;</span><a class="page-number" href="/page/11/#content-inner">11</a><a class="extend next" rel="next" href="/page/5/#content-inner"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src= "" data-lazy-src="https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">lzoxun</div><div class="author-info__description"></div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">108</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">1</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/liaozhongxun"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/liaozhongxun" target="_blank" title="Github"><i class="fab fa-github" style="color: #24292e;"></i></a><a class="social-icon" href="mailto:869664233@gmail.com" target="_blank" title="Email"><i class="fas fa-envelope" style="color: #4a7dbe;"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">这是我的文档</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/22/window/win-11/" title="win 11 set">win 11 set</a><time datetime="2023-07-22T07:14:09.700Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/22/window/win-gitbash/" title="git bash">git bash</a><time datetime="2023-07-22T07:14:09.700Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/22/window/win-wsl/" title="wsl">wsl</a><time datetime="2023-07-22T07:14:09.700Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/22/window/win-main/" title="window">window</a><time datetime="2023-07-22T07:14:09.700Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/22/web/%E5%85%BC%E5%AE%B9%E9%97%AE%E9%A2%98/" title="兼容问题">兼容问题</a><time datetime="2023-07-22T07:14:09.699Z" title="发表于 2023-07-22 15:14:09">2023-07-22</time></div></div></div></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/tags/%E6%A0%87%E8%AE%B0%E8%AF%AD%E8%A8%80/" style="font-size: 1.1em; color: #999">标记语言</a></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2023/07/"><span class="card-archive-list-date">七月 2023</span><span class="card-archive-list-count">106</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2016/12/"><span class="card-archive-list-date">十二月 2016</span><span class="card-archive-list-count">2</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">108</div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2023-07-22T07:54:12.682Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2023 By lzoxun</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.umd.min.js"></script><script src="https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.iife.min.js"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><script>function panguFn () {
  if (typeof pangu === 'object') pangu.autoSpacingPage()
  else {
    getScript('https://cdn.jsdelivr.net/npm/pangu/dist/browser/pangu.min.js')
      .then(() => {
        pangu.autoSpacingPage()
      })
  }
}

function panguInit () {
  if (false){
    GLOBAL_CONFIG_SITE.isPost && panguFn()
  } else {
    panguFn()
  }
}

document.addEventListener('DOMContentLoaded', panguInit)</script><div class="js-pjax"><script>window.typedJSFn = {
  init: (str) => {
    window.typed = new Typed('#subtitle', Object.assign({
      strings: str,
      startDelay: 300,
      typeSpeed: 150,
      loop: true,
      backSpeed: 50,
    }, null))
  },
  run: (subtitleType) => {
    if (true) {
      if (typeof Typed === 'function') {
        subtitleType()
      } else {
        getScript('https://cdn.jsdelivr.net/npm/typed.js/dist/typed.umd.min.js').then(subtitleType)
      }
    } else {
      subtitleType()
    }
  }
}
</script><script>function subtitleType () {
  fetch('https://v1.hitokoto.cn')
    .then(response => response.json())
    .then(data => {
      if (true) {
        const from = '出自 ' + data.from
        const sub = []
        sub.unshift(data.hitokoto, from)
        typedJSFn.init(sub)
      } else {
        document.getElementById('subtitle').textContent = data.hitokoto
      }
    })
}
typedJSFn.run(subtitleType)
</script></div><script id="canvas_nest" defer="defer" color="0,0,255" opacity="0.7" zIndex="-1" count="99" mobile="false" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-nest.min.js"></script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span>  数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div><hr/><div class="no-result" id="local-search-results"></div><div id="local-search-stats-wrap"></div></div></div><div id="search-mask"></div><script src="/js/search/local-search.js"></script></div></div><script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"log":false,"model":{"jsonPath":"/live2dw/assets/haruto.model.json"},"display":{"position":"right","width":100,"height":200,"right":300},"mobile":{"show":true}});</script></body></html>